import axios from 'axios'

export function get(url) {
    return axios.get(url).then(res => res.data)
}

export function post(url, data) {
    return axios.post(url, data).then(res => res.data)
}